﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<IEnumerable<AgriMarketWebProj.AgriMarketService.Auction>>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    AgriMarket|Tiện ích
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="Content" runat="server">

<div class="caption" id="BidListHasNotSendCapTion"><h2>Danh sách các phiên đấu giá chưa gửi thông báo</h2></div>
<form method="post" action="/Utility/Index">
    <table class="table tableStatistic" id="BidListHasNotSendTable">
        <tr>
            <th>
                AuctionId
            </th>
            <th>
                PostedDate
            </th>
            <th>
                Topic
            </th>
            <th>
                InitialPrice
            </th>
        <%--    <th>
                ProductDescription
            </th>--%>
            <th>
                StartedDate
            </th>
            <th>
                FinishedDate
            </th>
            <%--<th>
                ProductImage
            </th>--%>
            <th>
                AuthorId
            </th>
            <th></th>
        </tr>
    
    <% foreach (var item in Model) { %>
        <tr>
            <td>
                <%: Html.DisplayFor(modelItem => item.AuctionId) %>
            </td>
            <td>
                <%: Html.DisplayFor(modelItem => item.PostedDate) %>
            </td>
            <td>
                <%: Html.DisplayFor(modelItem => item.Topic) %>
            </td>
            <td>
                <%: Html.DisplayFor(modelItem => item.InitialPrice) %>
            </td>
           <%-- <td>
                <%: Html.DisplayFor(modelItem => item.ProductDescription) %>
            </td>--%>
            <td>
                <%: Html.DisplayFor(modelItem => item.StartedDate) %>
            </td>
            <td>
                <%: Html.DisplayFor(modelItem => item.FinishedDate) %>
            </td>
           <%-- <td>
                <%: Html.DisplayFor(modelItem => item.ProductImage) %>
            </td>--%>
            <td>
                <%: Html.DisplayFor(modelItem => item.AuthorId) %>
            </td>
            <td>
                
            <%="<input type='checkbox' name='AuctionId[]' value='" + item.AuctionId + "' checked />"%>
            </td>
        </tr>
    <% } %>
    </table>
    <div id="BidListHasNotSendButtonDiv"> <input id="BidListHasNotSendButton" type="submit" value="send"></div>
</form>
</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="ScriptContent" runat="server">
    <link href="../../Content/DanhSachDauGiaChuaGoi.css" rel="stylesheet" type="text/css" />
    <link href="../../Content/Statistic.css" rel="stylesheet" type="text/css" />
</asp:Content>
